import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "@/styles/index.scss";
import ElementUI from "element-ui";
Vue.use(ElementUI);
import "element-ui/lib/theme-chalk/index.css";
Vue.config.productionTip = false;
// import BaiduMap from "vue-baidu-map";
// Vue.use(BaiduMap, {
//   ak: "",
// });
// import VueBMap from "vue-bmap-gl";

// import "vue-bmap-gl/dist/style.css";

// Vue.use(VueBMap);

// VueBMap.initBMapApiLoader({
//   ak: "12vTWv9S6c7I82tT6fK65wvGoQ0fuQvt",
//   v: "1.0",
// });
new Vue({
  router,
  store,
  el: "#app",
  render: (h) => h(App),
  beforeCreate() {
		Vue.prototype.$bus = this //安装全局事件总线
	},
}).$mount("#app");
